//
//  CollectionPrettyCell.swift
//  CWLiving
//
//  Created by 方正刚 on 2017/7/5.
//  Copyright © 2017年 方正刚. All rights reserved.
//

import UIKit
import Kingfisher
class CollectionPrettyCell: CollectionViewBaseCell {

   
    @IBOutlet weak var cityBtn: UIButton!
    override var achor: AnchorModel? {
        didSet {
            super.achor = achor
            /// 显示所在城市
            cityBtn.setTitle(achor?.anchor_city, for: .normal)

        }
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
        imageView.layer.cornerRadius = 5
        imageView.layer.masksToBounds = true
        onLineBtn.layer.cornerRadius = 3;
        onLineBtn.layer.masksToBounds = true
    }

}
